package com.hksj.dpm.query;

import com.fasterxml.jackson.annotation.JsonIgnore;
import com.hksj.common.core.common.DevicePropertyConstants;
import com.hksj.common.core.common.SpecialityModelCodeEnum;
import io.swagger.annotations.ApiModelProperty;
import lombok.Data;

import java.io.Serializable;

@Data
public class DpmAlarmQuery implements Serializable {
    @ApiModelProperty("设备名称 模糊查询")
    private String deviceName;

    @ApiModelProperty("报警方式 1 = 负压 2 = 正压")
    private Integer pushType;

    @ApiModelProperty("查询开始时间")
    private String startTime;

    @ApiModelProperty("查询结束时间")
    private String endTime;

    @ApiModelProperty("节点路径 paths = buildingId,floorId  传paths可不传buildingId floorId，反之亦然")
    private String paths;

    @ApiModelProperty("科室编码")
    private String departmentItemValue;

    @JsonIgnore
    @ApiModelProperty("专业编码")
    private String specialityCode = SpecialityModelCodeEnum.differential_pressure.getCode();

    @JsonIgnore
    @ApiModelProperty("属性名称")
    private String property = DevicePropertyConstants.DEFAULT_DEVICE_PROPERTY_NAME;
}
